package com.adu.demo.service.Impl;

import java.util.List;
import com.adu.demo.domain.UndoLog;
import com.adu.demo.mapper.UndoLogMapper;
import com.adu.demo.service.IUndoLogService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
                                            
@Service
public class UndoLogService implements IUndoLogService{
    @Autowired
    private UndoLogMapper undologMapper;

    @Override
    public List<UndoLog> getList(UndoLog undolog){
        return undologMapper.getList(undolog);
    }
    @Override
    public UndoLog getById(Long id){
        return undologMapper.getById(id);
    }
    @Override
    public int save(UndoLog undolog){
        return undologMapper.save(undolog);
    }
    @Override
    public int deleteById(Long id){
        return undologMapper.deleteById(id);
    }
    @Override
    public int deleteByIds(Long[] ids){
        return  undologMapper.deleteByIds(ids);
    }
    @Override
    public int update(UndoLog undolog){
        return undologMapper.update(undolog);
    }
}